package com.luanye.enjoy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.luanye.enjoy.dto.UserConfigDTO;
import com.luanye.enjoy.dto.UserDTO;
import com.luanye.enjoy.entity.User;
import com.luanye.enjoy.vo.RespBean;

import javax.servlet.http.HttpServletRequest;


public interface UserService extends IService<User> {

    RespBean wxLogin(String jscode);

    RespBean register(UserDTO user, HttpServletRequest request);

    RespBean updateLoc(User user);

    RespBean updateUserConfig(UserConfigDTO dto);

    RespBean registerSms(String phone);

    RespBean updatePhoneByCode(String phone, String code);
}
